package com.yunshang.shoppingmall.mapper;

import com.yunshang.shoppingmall.entity.Product;
import com.yunshang.shoppingmall.entity.ProductClassfy;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductClassfyMapper {
    int insert(ProductClassfy record);

    int insertSelective(ProductClassfy record);
    //查询所有
    List<ProductClassfy> selectProductClassfy(Product product);
    //查询所有记录的总数
    int  selectCount();
 }